import React from  'react'
import Link from 'next/link'

import './index.scss'

export default class Header extends React.Component{
    render(){

        return (
            <header className='gp_header'>
                <Link href='/'>
                    <a><img className='head_logo' src="/static/indexImg/logo@2x.png" alt=""/></a>
                </Link>
                {/*<img className='head_logo' src="/static/indexImg/logo@2x.png" alt=""/>*/}
                <img onClick={() => {this.props.changeDisplayNav()}} className='head_menu fr' src="/static/indexImg/caidan@2x.png" alt=""/>
            </header>
        )
    }
}

